package com.hyt.it.ogt.ks.feign.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

import javax.validation.constraints.NotNull;

import com.hyt.common.apiInfor.DataType;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 *
 * @author liuhh
 */
@Data
@Accessors(chain = true)
@ApiModel(value="考生试卷信息")
public class CandidatePaperInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "考生准考证号", dataType= DataType.STRING)
    @NotNull(message = "考生准考证号")
    private String admissionNumber;

    @ApiModelProperty(value = "考生姓名", dataType= DataType.STRING)
    @NotNull(message = "考生姓名")
    private String candidateName;

    @ApiModelProperty(value = "项目名称", dataType= DataType.STRING)
    @NotNull(message = "项目名称")
    private String examName;

    @ApiModelProperty(value = "试卷或试卷包Id", dataType= DataType.STRING)
    private String paperId;

    @ApiModelProperty(value = "试卷或试卷包版本号", dataType= DataType.STRING)
    private String paperVersion;

    @ApiModelProperty(value = "试卷模式，是试卷包，single是单体试卷", dataType= DataType.STRING)
    private String paperMode;

    private List<Paper> paperList;

    public Long answerTime;

    public Long handInTime;

    public BigDecimal paperScore;
    
    @ApiModelProperty(value = "考试6位数字Id", hidden = true)
    private Integer randomId;
}
